<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Document</title>
	<style type="text/css">
		body{
			font-family: "微软雅黑";
			margin: 100px auto;
			width: 100%;
			text-align: center;
		}
	</style>
</head>
<body>
	<script type="text/javascript">
		            for (var a = 0;a<15;a++) {
            	for (var j=15;j<10-a-1;j++) {
            		document.write("&nbsp")
            	}
            	for (k=0;k<a*2+1;k++) {
            		document.write("*")
            	}
            	document.write("<br>")
            }

	</script>
</body>
</html>